home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / indexf_1 / fadeeeee.frm (.txt) next >
Encoding:
Visual Basic Form  |  1999-09-05  |  28.0 KB  |  766 lines

  1. VERSION 5.00
  2. Begin VB.Form MAINform 
  3.    BorderStyle     =   4  'Fixed ToolWindow
  4.    Caption         =   "SeRkaL_7'z Yahoo! Chat Color Fader"
  5.    ClientHeight    =   2340
  6.    ClientLeft      =   2130
  7.    ClientTop       =   3405
  8.    ClientWidth     =   8340
  9.    FillColor       =   &H00C0C0C0&
  10.    BeginProperty Font 
  11.       Name            =   "Arial"
  12.       Size            =   8.25
  13.       Charset         =   0
  14.       Weight          =   700
  15.       Underline       =   0   'False
  16.       Italic          =   0   'False
  17.       Strikethrough   =   0   'False
  18.    EndProperty
  19.    ForeColor       =   &H8000000F&
  20.    Icon            =   "fadeeeeeeeeee2.frx":0000
  21.    LinkTopic       =   "Form1"
  22.    MaxButton       =   0   'False
  23.    MinButton       =   0   'False
  24.    ScaleHeight     =   2340
  25.    ScaleWidth      =   8340
  26.    ShowInTaskbar   =   0   'False
  27.    Begin VB.Frame Frame3 
  28.       Caption         =   "this is a hiden textbox that the user can't see...it is where the final code will go."
  29.       Height          =   855
  30.       Left            =   120
  31.       TabIndex        =   48
  32.       Top             =   3240
  33.       Width           =   7575
  34.       Begin VB.TextBox result 
  35.          Height          =   315
  36.          Left            =   120
  37.          TabIndex        =   49
  38.          Text            =   "Text4"
  39.          Top             =   360
  40.          Width           =   7335
  41.       End
  42.    End
  43.    Begin VB.CommandButton Command6 
  44.       Caption         =   "&Copy"
  45.       Height          =   195
  46.       Left            =   7320
  47.       TabIndex        =   12
  48.       Top             =   1200
  49.       Width           =   975
  50.    End
  51.    Begin VB.CommandButton Command3 
  52.       Caption         =   "Browser"
  53.       Height          =   285
  54.       Left            =   7320
  55.       TabIndex        =   47
  56.       Top             =   2040
  57.       Width           =   975
  58.    End
  59.    Begin VB.CommandButton Command2 
  60.       Caption         =   "HIDE"
  61.       Height          =   285
  62.       Left            =   7320
  63.       TabIndex        =   46
  64.       Top             =   2400
  65.       Width           =   975
  66.    End
  67.    Begin VB.TextBox Text14 
  68.       Height          =   315
  69.       Left            =   0
  70.       TabIndex        =   45
  71.       Top             =   2400
  72.       Width           =   7215
  73.    End
  74.    Begin VB.CommandButton Command1 
  75.       Caption         =   "&Send"
  76.       Height          =   195
  77.       Left            =   7320
  78.       TabIndex        =   44
  79.       Top             =   1680
  80.       Width           =   975
  81.    End
  82.    Begin VB.OptionButton Option7 
  83.       Caption         =   "Alternative Caps"
  84.       Height          =   210
  85.       Left            =   5280
  86.       TabIndex        =   42
  87.       Top             =   2040
  88.       Width           =   1695
  89.    End
  90.    Begin VB.OptionButton Option6 
  91.       Caption         =   "Hacker "
  92.       Height          =   210
  93.       Left            =   4440
  94.       TabIndex        =   41
  95.       Top             =   2040
  96.       Width           =   975
  97.    End
  98.    Begin VB.OptionButton Option5 
  99.       Caption         =   "Backwards"
  100.       Height          =   210
  101.       Left            =   3240
  102.       TabIndex        =   40
  103.       Top             =   2040
  104.       Width           =   1335
  105.    End
  106.    Begin VB.OptionButton Option4 
  107.       Caption         =   "Elite"
  108.       Height          =   210
  109.       Left            =   2640
  110.       TabIndex        =   39
  111.       Top             =   2040
  112.       Width           =   855
  113.    End
  114.    Begin VB.OptionButton Option3 
  115.       Caption         =   "Italic"
  116.       Height          =   210
  117.       Left            =   1920
  118.       TabIndex        =   38
  119.       Top             =   2040
  120.       Width           =   855
  121.    End
  122.    Begin VB.OptionButton Option2 
  123.       Caption         =   "Bold"
  124.       Height          =   210
  125.       Left            =   1200
  126.       TabIndex        =   37
  127.       Top             =   2040
  128.       Width           =   735
  129.    End
  130.    Begin VB.OptionButton Option1 
  131.       Caption         =   "Underline"
  132.       Height          =   210
  133.       Left            =   120
  134.       TabIndex        =   36
  135.       Top             =   2040
  136.       Width           =   1335
  137.    End
  138.    Begin VB.CommandButton Command5 
  139.       Caption         =   "&Clear"
  140.       Height          =   195
  141.       Left            =   7320
  142.       TabIndex        =   35
  143.       Top             =   1440
  144.       Width           =   975
  145.    End
  146.    Begin VB.Frame Frame4 
  147.       Caption         =   "3rd Color"
  148.       Height          =   1095
  149.       Left            =   5520
  150.       TabIndex        =   24
  151.       Top             =   0
  152.       Width           =   2655
  153.       Begin VB.TextBox Text13 
  154.          Height          =   255
  155.          Left            =   1920
  156.          TabIndex        =   34
  157.          Text            =   "00"
  158.          Top             =   720
  159.          Width           =   495
  160.       End
  161.       Begin VB.TextBox Text12 
  162.          Height          =   255
  163.          Left            =   1920
  164.          TabIndex        =   33
  165.          Text            =   "00"
  166.          Top             =   480
  167.          Width           =   495
  168.       End
  169.       Begin VB.TextBox Text11 
  170.          Height          =   255
  171.          Left            =   1920
  172.          TabIndex        =   32
  173.          Text            =   "00"
  174.          Top             =   240
  175.          Width           =   495
  176.       End
  177.       Begin VB.HScrollBar HScroll9 
  178.          Height          =   135
  179.          Left            =   120
  180.          Max             =   255
  181.          TabIndex        =   31
  182.          Top             =   840
  183.          Width           =   1815
  184.       End
  185.       Begin VB.PictureBox Picture12 
  186.          BackColor       =   &H00FF0000&
  187.          Height          =   135
  188.          Left            =   120
  189.          ScaleHeight     =   75
  190.          ScaleWidth      =   1755
  191.          TabIndex        =   30
  192.          Top             =   720
  193.          Width           =   1815
  194.       End
  195.       Begin VB.HScrollBar HScroll8 
  196.          Height          =   135
  197.          Left            =   120
  198.          Max             =   255
  199.          TabIndex        =   29
  200.          Top             =   600
  201.          Width           =   1815
  202.       End
  203.       Begin VB.PictureBox Picture11 
  204.          BackColor       =   &H0000FF00&
  205.          Height          =   135
  206.          Left            =   120
  207.          ScaleHeight     =   75
  208.          ScaleWidth      =   1755
  209.          TabIndex        =   28
  210.          Top             =   480
  211.          Width           =   1815
  212.       End
  213.       Begin VB.PictureBox Picture10 
  214.          BackColor       =   &H000000FF&
  215.          Height          =   135
  216.          Left            =   120
  217.          ScaleHeight     =   75
  218.          ScaleWidth      =   1755
  219.          TabIndex        =   27
  220.          Top             =   240
  221.          Width           =   1815
  222.       End
  223.       Begin VB.PictureBox Picture9 
  224.          BackColor       =   &H80000007&
  225.          Height          =   735
  226.          Left            =   2400
  227.          ScaleHeight     =   675
  228.          ScaleWidth      =   195
  229.          TabIndex        =   26
  230.          Top             =   240
  231.          Width           =   255
  232.       End
  233.       Begin VB.HScrollBar HScroll7 
  234.          Height          =   135
  235.          Left            =   120
  236.          Max             =   255
  237.          TabIndex        =   25
  238.          Top             =   360
  239.          Width           =   1815
  240.       End
  241.    End
  242.    Begin VB.Frame Frame2 
  243.       BackColor       =   &H8000000A&
  244.       Caption         =   "2nd Color"
  245.       Height          =   1095
  246.       Left            =   2760
  247.       TabIndex        =   13
  248.       Top             =   0
  249.       Width           =   2655
  250.       Begin VB.PictureBox Picture8 
  251.          BackColor       =   &H00FF0000&
  252.          Height          =   135
  253.          Left            =   120
  254.          ScaleHeight     =   75
  255.          ScaleWidth      =   1755
  256.          TabIndex        =   23
  257.          Top             =   720
  258.          Width           =   1815
  259.       End
  260.       Begin VB.PictureBox Picture7 
  261.          BackColor       =   &H0000FF00&
  262.          Height          =   135
  263.          Left            =   120
  264.          ScaleHeight     =   75
  265.          ScaleWidth      =   1755
  266.          TabIndex        =   22
  267.          Top             =   480
  268.          Width           =   1815
  269.       End
  270.       Begin VB.PictureBox Picture6 
  271.          BackColor       =   &H000000FF&
  272.          Height          =   135
  273.          Left            =   120
  274.          ScaleHeight     =   75
  275.          ScaleWidth      =   1755
  276.          TabIndex        =   21
  277.          Top             =   240
  278.          Width           =   1815
  279.       End
  280.       Begin VB.PictureBox Picture5 
  281.          BackColor       =   &H80000007&
  282.          Height          =   735
  283.          Left            =   2400
  284.          ScaleHeight     =   675
  285.          ScaleWidth      =   195
  286.          TabIndex        =   20
  287.          Top             =   240
  288.          Width           =   255
  289.       End
  290.       Begin VB.TextBox Text10 
  291.          Height          =   255
  292.          Left            =   1920
  293.          TabIndex        =   19
  294.          Text            =   "00"
  295.          Top             =   720
  296.          Width           =   495
  297.       End
  298.       Begin VB.TextBox Text9 
  299.          Height          =   315
  300.          Left            =   1920
  301.          TabIndex        =   18
  302.          Text            =   "00"
  303.          Top             =   480
  304.          Width           =   495
  305.       End
  306.       Begin VB.TextBox Text8 
  307.          Height          =   255
  308.          Left            =   1920
  309.          TabIndex        =   17
  310.          Text            =   "00"
  311.          Top             =   240
  312.          Width           =   495
  313.       End
  314.       Begin VB.HScrollBar HScroll6 
  315.          Height          =   135
  316.          Left            =   120
  317.          Max             =   255
  318.          TabIndex        =   16
  319.          Top             =   840
  320.          Width           =   1815
  321.       End
  322.       Begin VB.HScrollBar HScroll5 
  323.          Height          =   135
  324.          Left            =   120
  325.          Max             =   255
  326.          TabIndex        =   15
  327.          Top             =   600
  328.          Width           =   1815
  329.       End
  330.       Begin VB.HScrollBar HScroll4 
  331.          Height          =   135
  332.          Left            =   120
  333.          Max             =   255
  334.          TabIndex        =   14
  335.          Top             =   360
  336.          Width           =   1815
  337.       End
  338.    End
  339.    Begin VB.TextBox Text7 
  340.       Height          =   615
  341.       Left            =   0
  342.       MultiLine       =   -1  'True
  343.       ScrollBars      =   2  'Vertical
  344.       TabIndex        =   7
  345.       Text            =   "fadeeeeeeeeee2.frx":030A
  346.       Top             =   1200
  347.       Width           =   7215
  348.    End
  349.    Begin VB.Frame Frame1 
  350.       Caption         =   "1st Color"
  351.       ForeColor       =   &H00000000&
  352.       Height          =   1095
  353.       Left            =   0
  354.       TabIndex        =   0
  355.       Top             =   0
  356.       Width           =   2655
  357.       Begin VB.PictureBox Picture1 
  358.          BackColor       =   &H80000012&
  359.          Height          =   735
  360.          Left            =   2400
  361.          ScaleHeight     =   675
  362.          ScaleWidth      =   195
  363.          TabIndex        =   11
  364.          Top             =   240
  365.          Width           =   255
  366.       End
  367.       Begin VB.TextBox Text3 
  368.          Height          =   255
  369.          Left            =   1920
  370.          TabIndex        =   10
  371.          Text            =   "00"
  372.          Top             =   720
  373.          Width           =   495
  374.       End
  375.       Begin VB.TextBox Text2 
  376.          Height          =   255
  377.          Left            =   1920
  378.          TabIndex        =   9
  379.          Text            =   "00"
  380.          Top             =   480
  381.          Width           =   495
  382.       End
  383.       Begin VB.TextBox Text1 
  384.          Height          =   255
  385.          Left            =   1920
  386.          TabIndex        =   8
  387.          Text            =   "00"
  388.          Top             =   240
  389.          Width           =   495
  390.       End
  391.       Begin VB.PictureBox Picture4 
  392.          BackColor       =   &H00FF0000&
  393.          BeginProperty Font 
  394.             Name            =   "MS Sans Serif"
  395.             Size            =   8.25
  396.             Charset         =   0
  397.             Weight          =   400
  398.             Underline       =   0   'False
  399.             Italic          =   0   'False
  400.             Strikethrough   =   0   'False
  401.          EndProperty
  402.          Height          =   135
  403.          Left            =   120
  404.          ScaleHeight     =   75
  405.          ScaleWidth      =   1755
  406.          TabIndex        =   6
  407.          Top             =   720
  408.          Width           =   1815
  409.       End
  410.       Begin VB.PictureBox Picture3 
  411.          BackColor       =   &H0000FF00&
  412.          BeginProperty Font 
  413.             Name            =   "MS Sans Serif"
  414.             Size            =   8.25
  415.             Charset         =   0
  416.             Weight          =   400
  417.             Underline       =   0   'False
  418.             Italic          =   0   'False
  419.             Strikethrough   =   0   'False
  420.          EndProperty
  421.          Height          =   135
  422.          Left            =   120
  423.          ScaleHeight     =   75
  424.          ScaleWidth      =   1755
  425.          TabIndex        =   5
  426.          Top             =   480
  427.          Width           =   1815
  428.       End
  429.       Begin VB.PictureBox Picture2 
  430.          BackColor       =   &H000000FF&
  431.          BeginProperty Font 
  432.             Name            =   "MS Sans Serif"
  433.             Size            =   8.25
  434.             Charset         =   0
  435.             Weight          =   400
  436.             Underline       =   0   'False
  437.             Italic          =   0   'False
  438.             Strikethrough   =   0   'False
  439.          EndProperty
  440.          Height          =   135
  441.          Left            =   120
  442.          ScaleHeight     =   75
  443.          ScaleWidth      =   1755
  444.          TabIndex        =   4
  445.          Top             =   240
  446.          Width           =   1815
  447.       End
  448.       Begin VB.HScrollBar HScroll3 
  449.          Height          =   135
  450.          Left            =   120
  451.          Max             =   255
  452.          TabIndex        =   3
  453.          Top             =   840
  454.          Width           =   1815
  455.       End
  456.       Begin VB.HScrollBar HScroll2 
  457.          Height          =   135
  458.          Left            =   120
  459.          Max             =   255
  460.          TabIndex        =   2
  461.          Top             =   600
  462.          Width           =   1815
  463.       End
  464.       Begin VB.HScrollBar HScroll1 
  465.          Height          =   135
  466.          Left            =   120
  467.          Max             =   255
  468.          TabIndex        =   1
  469.          Top             =   360
  470.          Width           =   1815
  471.       End
  472.    End
  473.    Begin VB.Frame Frame5 
  474.       Caption         =   "Effects"
  475.       Height          =   495
  476.       Left            =   0
  477.       TabIndex        =   43
  478.       Top             =   1800
  479.       Width           =   7095
  480.    End
  481.    Begin VB.Menu mnuFile 
  482.       Caption         =   "&File"
  483.       Begin VB.Menu mnuFhelp 
  484.          Caption         =   "Help"
  485.       End
  486.       Begin VB.Menu mnufExit 
  487.          Caption         =   "E&xit"
  488.       End
  489.    End
  490.    Begin VB.Menu mnuCredits 
  491.       Caption         =   "&Credits"
  492.       Begin VB.Menu mnuCabout 
  493.          Caption         =   "About"
  494.       End
  495.    End
  496.    Begin VB.Menu mnuActions 
  497.       Caption         =   "&Actions"
  498.       Begin VB.Menu mnuAcopy 
  499.          Caption         =   "Copy"
  500.       End
  501.       Begin VB.Menu mnuAclear 
  502.          Caption         =   "Clear"
  503.       End
  504.    End
  505.    Begin VB.Menu mnuEffects 
  506.       Caption         =   "Effects"
  507.       Begin VB.Menu mnuEunderline 
  508.          Caption         =   "Underline"
  509.       End
  510.       Begin VB.Menu mnuEbold 
  511.          Caption         =   "Bold"
  512.       End
  513.       Begin VB.Menu mnuEitalic 
  514.          Caption         =   "Italic"
  515.       End
  516.       Begin VB.Menu mnuEelite 
  517.          Caption         =   "Elite"
  518.       End
  519.       Begin VB.Menu mnuEbackwards 
  520.          Caption         =   "Backwards"
  521.       End
  522.       Begin VB.Menu mnuEhacker 
  523.          Caption         =   "Hacker"
  524.       End
  525.       Begin VB.Menu mnuEaltcaps 
  526.          Caption         =   "AlternativeCaps"
  527.       End
  528.    End
  529.    Begin VB.Menu mnuBrowser 
  530.       Caption         =   "Browser"
  531.       Begin VB.Menu mnuBchange 
  532.          Caption         =   "Change"
  533.       End
  534.       Begin VB.Menu mnuBhelp 
  535.          Caption         =   "Help"
  536.       End
  537.    End
  538. Attribute VB_Name = "MAINform"
  539. Attribute VB_GlobalNameSpace = False
  540. Attribute VB_Creatable = False
  541. Attribute VB_PredeclaredId = True
  542. Attribute VB_Exposed = False
  543. Private Sub Command1_Click()
  544. 'this will do the fade code then send it to the window
  545.     If Text7.Text = "" Or Text.Text = " " Or Text.Text = " " Then
  546.         MsgBox "you need to enter text", , "ERROR"
  547.         Exit Sub
  548.     End If
  549. 'checks if there is any text to fade
  550.     result.Text = ""
  551.     R1 = HScroll1.Value
  552.     G1 = HScroll2.Value
  553.     B1 = HScroll3.Value
  554.     R2 = ((HScroll4.Value - HScroll1.Value) / Len(Text7.Text))
  555.     G2 = ((HScroll5.Value - HScroll2.Value) / Len(Text7.Text))
  556.     B2 = ((HScroll6.Value - HScroll3.Value) / Len(Text7.Text))
  557.     R3 = ((HScroll7.Value - HScroll4.Value) / Len(Text7.Text))
  558.     G3 = ((HScroll8.Value - HScroll5.Value) / Len(Text7.Text))
  559.     B3 = ((HScroll9.Value - HScroll6.Value) / Len(Text7.Text))
  560.     For X = 0 To Len(Text.Text) - 1
  561.         R = Abs(Int(R1 + (R2 * X))) + R3
  562.         G = Abs(Int(G1 + (G2 * X))) + G3
  563.         B = Abs(Int(B1 + (B2 * X))) + B4
  564.         result.Text = result.Text & "<"
  565.         result.Text = result.Text & "#"
  566.         If R < 17 Then result.Text = result.Text & "0"
  567.         result.Text = result.Text & Hex(R)
  568.         If G < 17 Then result.Text = result.Text & "0"
  569.         result.Text = result.Text & Hex(G)
  570.         If B < 17 Then result.Text = result.Text & "0"
  571.         result.Text = result.Text & Hex(B)
  572.         result.Text = result.Text & Chr$(34)
  573.         result.Text = result.Text & ">"
  574.         result.Text = result.Text & Mid(Text7.Text, X + 1, 1)
  575.     Next X
  576. AppActivate Text14.Text 'find the browser window that was inputed by the user
  577. SendKeys "{enter}", True 'send the keys enter
  578. SendKeys fadetext$ 'send the keys fades text (the code)
  579. SendKeys "{enter}" 'send the enter key
  580. End Sub
  581. Private Sub Command2_Click()
  582. MAINform.height = 2970 'change the forms height to 2970
  583. End Sub
  584. Private Sub Command3_Click()
  585. MAINform.height = 3360 'change the forms height to 3360
  586. End Sub
  587. Private Sub Command5_Click()
  588. Text7.Text = " " 'clear text7.text
  589. End Sub
  590. Private Sub Command6_Click()
  591. 'this will fade the text, then copy it on to the clipboard
  592.     If Text7.Text = "" Or Text7.Text = " " Or Text7.Text = " " Then
  593.         MsgBox "you need to enter text", , "ERROR"
  594.         Exit Sub
  595.     End If
  596. 'checks if there is any text to fade
  597.     result.Text = ""
  598.     R1 = HScroll1.Value
  599.     G1 = HScroll2.Value
  600.     B1 = HScroll3.Value
  601.     R2 = ((HScroll4.Value - HScroll1.Value) / Len(Text7.Text))
  602.     G2 = ((HScroll5.Value - HScroll2.Value) / Len(Text7.Text))
  603.     B2 = ((HScroll6.Value - HScroll3.Value) / Len(Text7.Text))
  604.     R3 = ((HScroll7.Value - HScroll4.Value) / Len(Text7.Text))
  605.     G3 = ((HScroll8.Value - HScroll5.Value) / Len(Text7.Text))
  606.     B3 = ((HScroll9.Value - HScroll6.Value) / Len(Text7.Text))
  607.     For X = 0 To Len(Text7.Text) - 1
  608.         R = Abs(Int(R1 + (R2 * X))) + R3
  609.         G = Abs(Int(G1 + (G2 * X))) + G3
  610.         B = Abs(Int(B1 + (B2 * X))) + B4
  611.         result.Text = result.Text & "<"
  612.         result.Text = result.Text & "#"
  613.         If R < 17 Then result.Text = result.Text & "0"
  614.         result.Text = result.Text & Hex(R)
  615.         If G < 17 Then result.Text = result.Text & "0"
  616.         result.Text = result.Text & Hex(G)
  617.         If B < 17 Then result.Text = result.Text & "0"
  618.         result.Text = result.Text & Hex(B)
  619.         result.Text = result.Text & Chr$(34)
  620.         result.Text = result.Text & ">"
  621.         result.Text = result.Text & Mid(Text7.Text, X + 1, 1)
  622.     Next X
  623. Clipboard.Clear
  624. Clipboard.SetText result.Text
  625. End Sub
  626. Private Sub Form_Load()
  627. Dim MyMsg As String
  628. MyMsg$ = InputBox("Please Enter Your Browser Name.") 'in an input box have the text 'please enter your browser name
  629. MAINform!Text14.Text = MyMsg$ ' the textbox14 will contain whatever the user inputed in in the input box
  630. End Sub
  631. Private Sub HScroll1_Scroll()
  632. Text1.Text = Str(HScroll1.Value) ' the value of Hscroll1 will be in textbox1
  633. Picture1.BackColor = RGB(Text1.Text, Text2.Text, Text3.Text) 'asign a picture box the value of the text boxs, which is the value of the scroll bars,....and because the scroll bars have a max of 255..it is also the red,green,blue value
  634. End Sub
  635. Private Sub HScroll2_Scroll()
  636. Text2.Text = Str(HScroll2.Value) ' the value of Hscroll2 will be in textbox2
  637. Picture1.BackColor = RGB(Text1.Text, Text2.Text, Text3.Text) 'asign a picture box the value of the text boxs, which is the value of the scroll bars,....and because the scroll bars have a max of 255..it is also the red,green,blue value
  638. End Sub
  639. Private Sub HScroll3_Scroll()
  640. Text3.Text = Str(HScroll3.Value) ' the value of Hscroll3 will be in textbox3
  641. Picture1.BackColor = RGB(Text1.Text, Text2.Text, Text3.Text) 'asign a picture box the value of the text boxs, which is the value of the scroll bars,....and because the scroll bars have a max of 255..it is also the red,green,blue value
  642. End Sub
  643. Private Sub HScroll4_Scroll()
  644. Text8.Text = Str(HScroll4.Value) ' the value of Hscroll4 will be in textbox8
  645. Picture5.BackColor = RGB(Text8.Text, Text9.Text, Text10.Text) 'asign a picture box the value of the text boxs, which is the value of the scroll bars,....and because the scroll bars have a max of 255..it is also the red,green,blue value
  646. End Sub
  647. Private Sub HScroll5_Scroll()
  648. Text9.Text = Str(HScroll5.Value) ' the value of Hscroll5 will be in textbox9
  649. Picture5.BackColor = RGB(Text8.Text, Text9.Text, Text10.Text) 'asign a picture box the value of the text boxs, which is the value of the scroll bars,....and because the scroll bars have a max of 255..it is also the red,green,blue value
  650. End Sub
  651. Private Sub HScroll6_Scroll()
  652. Text10.Text = Str(HScroll6.Value) ' the value of Hscroll6 will be in textbox10
  653. Picture5.BackColor = RGB(Text8.Text, Text9.Text, Text10.Text) 'asign a picture box the value of the text boxs, which is the value of the scroll bars,....and because the scroll bars have a max of 255..it is also the red,green,blue value
  654. End Sub
  655. Private Sub HScroll7_Scroll()
  656. Text11.Text = Str(HScroll7.Value) ' the value of Hscroll7 will be in textbox11
  657. Picture9.BackColor = RGB(Text11.Text, Text12.Text, Text13.Text) 'asign a picture box the value of the text boxs, which is the value of the scroll bars,....and because the scroll bars have a max of 255..it is also the red,green,blue value
  658. End Sub
  659. Private Sub HScroll8_Scroll()
  660. Text12.Text = Str(HScroll8.Value) ' the value of Hscroll8 will be in textbox12
  661. Picture9.BackColor = RGB(Text11.Text, Text12.Text, Text13.Text) 'asign a picture box the value of the text boxs, which is the value of the scroll bars,....and because the scroll bars have a max of 255..it is also the red,green,blue value
  662. End Sub
  663. Private Sub HScroll9_Scroll()
  664. Text13.Text = Str(HScroll9.Value) ' the value of Hscroll9 will be in textbox13
  665. Picture9.BackColor = RGB(Text11.Text, Text12.Text, Text13.Text) 'asign a picture box the value of the text boxs, which is the value of the scroll bars,....and because the scroll bars have a max of 255..it is also the red,green,blue value
  666. End Sub
  667. Private Sub mnuAclear_Click()
  668. Text7.Text = " " 'text7 will contain nothing (it just clears text7
  669. End Sub
  670. Private Sub mnuAcopy_Click()
  671. FFadedText$ = FadeThreeColor(Text1.Text, Text2.Text, Text3.Text, Text8.Text, Text9.Text, Text10.Text, Text11.Text, Text12.Text, Text13.Text, Text7.Text$, False) 'fade text using the monkefade and the rgb values which are in the text boxs
  672. Clipboard.Clear 'clear anything that has been copied
  673. Clipboard.SetText (FadedText$) 'copy the faded text (code)
  674. End Sub
  675. Private Sub mnuBchange_Click()
  676. MAINform.height = 3360 'change the forms height to 3360
  677. End Sub
  678. Private Sub mnuBhelp_Click()
  679. MsgBox "At the top of your yahoo! chat screen you will see something like Yahoo! Chat Peep's Lounge (16-19) - Microsoft Internet Explorer , copy what it says exactlly. There might be two spaces between words, so inspect it good.", 64, "Browser Help" 'have a pop-up with help
  680. End Sub
  681. Private Sub mnuCabout_Click()
  682. Unload Me 'close this form
  683. about.Show 'load the about form
  684. End Sub
  685. Private Sub mnuEaltcaps_Click()
  686. Text7.Text = fnC8((Text7.Text)) 'text7 will use the fnC8 function
  687. End Sub
  688. Private Sub mnuEbackwards_Click()
  689. Text7.Text = fn100((Text7.Text)) 'text7 will use the fn100 function (look in module1)
  690. End Sub
  691. Private Sub mnuEbold_Click()
  692. Text7.Text = "<b>" & Text7.Text & "</b>" 'text7 will have <b> then what ever was in text 7 then </b>
  693. End Sub
  694. Private Sub mnuEelite_Click()
  695. Text7.Text = fn138((Text7.Text)) 'text7 will use the fn138 function (look in mudule 1)
  696. End Sub
  697. Private Sub mnuEhacker_Click()
  698. Text7.Text = fn170((Text7.Text)) 'text7 will use the fn170 function (look in module1)
  699. End Sub
  700. Private Sub mnuEitalic_Click()
  701. Text7.Text = "<i>" & Text7.Text & "</i>" 'text7 will have <i> then what ever was in text 7 then </i>
  702. End Sub
  703. Private Sub mnuEunderline_Click()
  704. Text7.Text = "<u>" & Text7.Text & "</u>" 'text7 will have <u> then what ever was in text 7 then </u>
  705. End Sub
  706. Private Sub mnufExit_Click()
  707. End 'end the program...it will close all other forms that are open..unlike 'unload me' which only closes the form
  708. End Sub
  709. Private Sub mnuFhelp_Click()
  710. MsgBox "Scroll the bars to get a color, it says which is 1st,2nd and third color.Once you have chosen your colors, you may optionally choose effects like, backwards, elite, bold, and so on. Then you click copy and the text is copied, all you need to do is paste it in Yahoo! Chat or you can click send and send the text", 64, "Help" 'in a pop-up there will be help
  711. End Sub
  712. Private Sub Option1_Click()
  713. Text7.Text = "<u>" & Text7.Text & "</u>" 'text7 will have <u> then what ever was in text 7 then </u>
  714. End Sub
  715. Private Sub Option2_Click()
  716. Text7.Text = "<b>" & Text7.Text & "</b>" 'text7 will have <b> then what ever was in text 7 then </b>
  717. End Sub
  718. Private Sub Option3_Click()
  719. Text7.Text = "<i>" & Text7.Text & "</i>" 'text7 will have <i> then what ever was in text 7 then </i>
  720. End Sub
  721. Private Sub Option4_Click()
  722. Text7.Text = fn138((Text7.Text)) 'text7 uses the fn138 function
  723. End Sub
  724. Private Sub Option5_Click()
  725. Text7.Text = fn100((Text7.Text)) 'text7 uses the fn100 function
  726. End Sub
  727. Private Sub Option6_Click()
  728. Text7.Text = fn170((Text7.Text)) 'text7 uses the fn170 function
  729. End Sub
  730. Private Sub Option7_Click()
  731. Text7.Text = fnC8((Text7.Text)) 'text7 uses the fnc8 function
  732. End Sub
  733. Private Sub Text7_Change()
  734. If Text7.Text <> "" Then 'if text 7 is equal to nothing then
  735. Command1.Enabled = True 'enable command1
  736. Command6.Enabled = True 'enable command6
  737. Command5.Enabled = True 'enable command5
  738. mnuActions.Enabled = True 'enable the menu actions
  739. mnuEffects.Enabled = True 'enable the menu effects
  740. Option1.Enabled = True 'enable option1
  741. Option2.Enabled = True 'enable option2
  742. Option3.Enabled = True 'enable option3
  743. Option4.Enabled = True 'enable option4
  744. Option5.Enabled = True 'enable option5
  745. Option6.Enabled = True 'enable option6
  746. Option7.Enabled = True 'enable option7
  747. Else 'if its anything else
  748. Command6.Enabled = False 'disable command6
  749. Command5.Enabled = False 'disable command5
  750. mnuActions.Enabled = False 'disable the menu actions
  751. mnuEffects.Enabled = False 'disable the menu actions
  752. Option1.Enabled = False 'disable option1
  753. Option2.Enabled = False 'disable option2
  754. Option3.Enabled = False 'disable option3
  755. Option4.Enabled = False 'disable option4
  756. Option5.Enabled = False 'disable option5
  757. Option6.Enabled = False 'disable option6
  758. Option7.Enabled = False 'disable option7
  759. Command1.Enabled = False 'disable command1
  760. End If 'end the function
  761. 'all this does is...if there is any text to use a function with.
  762. '...then all the functions are enabled..
  763. 'but if there isn't any text to use a function with then
  764. 'all the options can't be used.
  765. End Sub
  766.